﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
	x:Class="NDD_Day1.CanvasDemoPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="True">

    <Canvas Background="Gray" x:Name="layoutRoot">
        <Rectangle Width="180"
                   Height="156"
                   Canvas.Left="28"
                   Canvas.Top="204"
                   Canvas.ZIndex="1" Fill="{StaticResource MyFlowerColor01}"
                   />
        <Ellipse Width="104" 
                 Height="156"
                 Fill="{StaticResource MyGredientColor01}"
                 Canvas.Left="264" 
                 Canvas.Top="204"/>
        <TextBlock Text="My Canvas"
                   FontSize="40" 
                   Canvas.Left="100" 
                   Canvas.Top="607" />
        <TextBox x:Name="txtName"
                Text="Pongsakorn" 
                 Canvas.Left="100" 
                 Canvas.Top="520" />
        <Image Width="180" Height="116" 
               Source="Images/480x800.jpg" Canvas.Left="28" Canvas.Top="44"/>
        <MediaElement Width="184" Height="100" 
                      Source="/Videos/demo.mp4" 
                      Canvas.Left="264" 
                      Canvas.Top="44" />
    </Canvas>
</phone:PhoneApplicationPage>